﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using ExtenDev.Web.Management;

namespace ExtenDev.Web
{
    public abstract class MicroPage : Page
    {
        
        public ResourceManager ResourceManager
        {
            get { return ResourceManager.Current; }
        }

        protected override void Render(HtmlTextWriter writer)
        {
            if (this.Header != null)
            {
                ResourceManager.RenderResources(this.Header);
            }
            base.Render(writer);
        }
    }
}
